package com.t2c.tibetantochinese.moudle;

/**
 * Created by zoulu on 16/10/26.
 * 登录bean
 */
public class Login {

    /**
     * success : true
     * data : {"id":"573acb27255f7071451f06af","username":"root","passwd":"123456"}
     */

    private boolean success;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private String msg;
    /**
     * id : 573acb27255f7071451f06af
     * username : root
     * passwd : 123456
     */

    private DataBean data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String id;
        private String username;
        private String passwd;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPasswd() {
            return passwd;
        }

        public void setPasswd(String passwd) {
            this.passwd = passwd;
        }
    }
}
